package drds.binlog.protocol.protocol_proto;

/**
 * Created by ibm on 2018/10/4.
 */
public interface AckOrBuilder extends
        // @@protoc_insertion_point(interface_extends:com.alibaba.otter.canal.protocol.Ack)
        com.google.protobuf.MessageOrBuilder
{

    /**
     * <code>int32 error_code = 1;</code>
     */
    int getErrorCode();

    /**
     * <pre>
     * if something like compression is not supported, erorr_message will tell about it.
     * </pre>
     * <p>
     * <code>string error_message = 2;</code>
     */
    String getErrorMessage();

    /**
     * <pre>
     * if something like compression is not supported, erorr_message will tell about it.
     * </pre>
     * <p>
     * <code>string error_message = 2;</code>
     */
    com.google.protobuf.ByteString
    getErrorMessageBytes();

    public Ack.ErrorCodePresentCase getErrorCodePresentCase();
}
